<template>
  <div>
    <a-button class="ml-5" type="primary" @click="handleClick('search')">
      查询
    </a-button>
    <a-button class="cancel ml-4" @click="handleClick('reset')">重置</a-button>
  </div>
</template>

<script setup>
const emit = defineEmits(['search', 'reset', 'refresh'])
const handleClick = (type) => emit(type)
</script>
